/* 素材管理模块 */
import {
    createAction,
  } from 'redux-actions'
  import {
    materialManage,
  } from 'api'
  import {
    createAjaxAction,
  } from 'utils'
  
  
  //通用接口-获取发布人接口
  export const getPublisher = createAjaxAction(
    materialManage.getPublisherList,
  )
  //通用接口-获取报告列表
  export const getReport = createAjaxAction(
    materialManage.getReportList,
  )
  //通用接口-获取三级报告列表
  export const getsecondList = createAjaxAction(
    materialManage.getsecondList,
  )
  
  //大咖报告列表基础数据
  export const masterReport = createAjaxAction(
    materialManage.masterReportList,
  )
  //大咖报告详情数据
  export const masterInfo = createAjaxAction(
    materialManage.masterInfoList,
  )
  //大咖报告-新增
  export const addMasterReport = createAjaxAction(
    materialManage.addMasterReportList,
  )
  //大咖报告-编辑
  export const editMasterReport = createAjaxAction(
    materialManage.editMasterReportList,
  )
  //大咖报告-删除
  export const deleteMasterReport = createAjaxAction(
    materialManage.deleteMasterReportList,
  )
  //大咖报告-审核通过
  export const adoptMasterReport = createAjaxAction(
    materialManage.adoptMasterReportList,
  )
  //大咖访谈-列表数据查询
  export const masterInterview = createAjaxAction(
    materialManage.masterInterviewList,
  )
  //大咖访谈-详情查询
  export const masterInterviewInfo = createAjaxAction(
    materialManage.masterInterviewInfoList,
  )
  //大咖访谈-新增
  export const addMasterInterview = createAjaxAction(
    materialManage.addMasterInterviewList,
  )
  //大咖访谈-编辑
  export const editMasterInterview = createAjaxAction(
    materialManage.editMasterInterviewList,
  )
  //大咖访谈-删除
  export const deleteMasterInterview = createAjaxAction(
    materialManage.deleteMasterInterviewList,
  )

  //课堂列表-基础数据查询
  export const classroomSelect = createAjaxAction(
    materialManage.classroomSelectList,
  )
  //课堂列表-详情查询
  export const classroomInfo = createAjaxAction(
    materialManage.classroomInfoList,
  )
  //课堂列表-新增
  export const addClassroom = createAjaxAction(
    materialManage.addClassroomList,
  )
  //课堂列表-编辑
  export const editClassroom = createAjaxAction(
    materialManage.editClassroomList,
  )
  //课堂列表-删除
  export const deleteClassroom = createAjaxAction(
    materialManage.deleteClassroomList,
  )

  //专题列表-基础数据查询
  export const subjectSelect = createAjaxAction(
    materialManage.subjectSelectList,
  )
  //专题列表-详情查询
  export const subjectInfo = createAjaxAction(
    materialManage.subjectInfoList,
  )
  //专题列表-新增
  export const addSubject = createAjaxAction(
    materialManage.addSubjectList,
  )
  //专题列表-编辑
  export const editSubject = createAjaxAction(
    materialManage.editSubjectList,
  )
  //专题列表-删除
  export const deleteSubject = createAjaxAction(
    materialManage.deleteSubjectList,
  )


  //素材列表-基础数据查询
  export const materiaSelect = createAjaxAction(
    materialManage.materiaSelectList,
  )
  //素材列表-详情查询
  export const materiaInfo = createAjaxAction(
    materialManage.materiaInfoList,
  )
  //素材列表-新增
  export const addmateria = createAjaxAction(
    materialManage.addmateriaList,
  )
  //素材列表-删除
  export const deleteMateria = createAjaxAction(
    materialManage.deleteMateriaList,
  )